<template>
	<view>
		<label for="name">{{id}}</label>
		<checkbox @click="add()" ref="sl">{{name}}</checkbox>
	</view>
	<view>
		Bbest
	</view>
</template>

<script setup lang="ts">
import { ref } from 'vue';

const sl=ref();
console.log(sl);

let id=ref<number>(1);

let name=ref<string>("FF");

function add(){
	id.value+=1;
	name.value=name.value.concat(id.value.toString())
	console.log(sl.value)
}

</script>

<style lang="scss">
.uni-list-cell {
	justify-content: flex-start
}
</style>